app.controller('home',['$scope','$http','$rootScope','$timeout',function($scope,$http,$rootScope,$timeout){
	//首页轮播图
	var swiper = new Swiper('.swiper-container',{
		loop:true,
		autoplay:2000,
	});
	//首页数据
	$scope.arr = [];
	$http({
		url:'http://127.0.0.1:4000/1',
		method:'get',
		data:''
	}).success(function(data){
		$scope.arr = data.data.feed.entry;
	})
}])